package com.css.zfzx.sjcj.modules.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;
import java.math.BigInteger;
import java.util.Date;

/**
 * @Description: pc-statistics
 * @Author: lhl
 * @CreateDate: 2021/8/2 11:06
 */
@Data
@Entity
@Table(name = "pc_statistics_fill")
public class PcStatisticsFillEntity {
    @Id
    @Column(name = "id")
    private String id;
    @Column(name = "task_name")
    private String taskName;
    @Column(name = "task_table")
    private String taskTable;
    @Column(name = "data_id")
    private String dataId;
    @Column(name = "province")
    private String province;
    @Column(name = "city")
    private String city;
    @Column(name = "area")
    private String area;
    @Column(name = "is_pioneer")
    private String isPioneer;
    @Column(name = "is_report_pg")
    private String isReportPg;
    @Column(name = "attachmet_name")
    private String attachmetName;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    @Column(name = "upload_time")
    private Date uploadTime;
    @Column(name = "upload_user")
    private String uploadUser;
    @Column(name = "attachmet_path")
    private String attachmetPath;
    @Column(name = "is_valid")
    private String isValid;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @Column(name = "task_create_time")
    private Date taskCreateTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @Column(name = "task_update_time")
    private Date taskUpdateTime;
    @Column(name = "total_count")
    private BigInteger totalCount;
    @Column(name = "report_count")
    private BigInteger reportCount;
}
